﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LocalView;
using DataType;

namespace LocalMockStorage
{
    public class MockLocalView : ILocalView
    {
        public event EventHandler<Credentials> Login;
        public event EventHandler Logout;

        public void DoLogin(Credentials cred)
        {
            if (Login != null)
                Login(this, cred);
        }

        public void DoLogOut()
        {
            if (Logout != null)
                Logout(this, new EventArgs()); 
        }
    }
}

